package com.jt.entity;

public class Teacher {

    private Integer tid;
    private String  tname;
    private String  tsex;
    private String  twx;
    private String  tphone;
    private String  tcard;
    private Role    role;
    private Integer tstatus;

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public void setTsex(String tsex) {
        this.tsex = tsex;
    }

    public void setTwx(String twx) {
        this.twx = twx;
    }

    public void setTphone(String tphone) {
        this.tphone = tphone;
    }

    public void setTcard(String tcard) {
        this.tcard = tcard;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public void setTstatus(Integer tstatus) {
        this.tstatus = tstatus;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", tsex='" + tsex + '\'' +
                ", twx='" + twx + '\'' +
                ", tphone='" + tphone + '\'' +
                ", tcard='" + tcard + '\'' +
                ", role=" + role +
                ", tstatus=" + tstatus +
                '}';
    }
}
